package cn.wl.hrm.vo;

import cn.wl.hrm.domain.CourseType;

import java.util.List;
//封装CourseTypeVo类，面包屑查询最终返回时List<CourseTypeVo>集合
/*
        [
            {
                own:{id:"1",name:"123"},
                other:[{id:"1",name:"123"},{id:"2",name:"123"}，{id:"3",name:"123"}]}
            }
        ]
         */
public class CourseTypeVo {
    //自己
    private CourseType ownerProductType;
    //和自己同级的
    private List<CourseType> otherProductTypes;

    public CourseType getOwnerProductType() {
        return ownerProductType;
    }

    public void setOwnerProductType(CourseType ownerProductType) {
        this.ownerProductType = ownerProductType;
    }

    public List<CourseType> getOtherProductTypes() {
        return otherProductTypes;
    }

    public void setOtherProductTypes(List<CourseType> otherProductTypes) {
        this.otherProductTypes = otherProductTypes;
    }
}
